

type Props = {
  header?: React.ReactNode
  children?: React.ReactNode
  className?: string
  childClassName?: string
}


const ItemMoudle = ({ header, children, className,childClassName }: Props) => {
  return <div className={className}>
    <div className="w-full">
      {header || null}
    </div>
    <div className={`w-full p-[12px] pb-[18px] ${childClassName}`}>
      {
        children
      }
    </div>
  </div>
}

export default ItemMoudle